package com.wzy.ssm.match.service.impl;

import org.springframework.stereotype.Service;
import com.wzy.ssm.match.model.MatchList;
import com.wzy.ssm.match.model.MatchListExample;

import java.util.List;
import com.wzy.ssm.match.mapper.MatchListMapper;
import com.wzy.ssm.match.service.MatchListService;

@Service
public class MatchListServiceImpl implements MatchListService{

    private MatchListMapper mapper;

    //通过构�?�器注入mapper
    public MatchListServiceImpl(MatchListMapper mapper) {
        this.mapper = mapper;
    }

    @Override
    public long countByExample(MatchListExample example) {
        return mapper.countByExample(example);
    }

    @Override
    public int deleteByExample(MatchListExample example) {
        return mapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer matchListId) {
        return mapper.deleteByPrimaryKey(matchListId);
    }

    @Override
    public int insert(MatchList record) {
        return mapper.insert(record);
    }

    @Override
    public int insertSelective(MatchList record) {
        return mapper.insertSelective(record);
    }

    @Override
    public List<MatchList> selectByExample(MatchListExample example) {
        return mapper.selectByExample(example);
    }

    @Override
    public MatchList selectByPrimaryKey(Integer matchListId) {
        return mapper.selectByPrimaryKey(matchListId);
    }

    @Override
    public int updateByExampleSelective(MatchList record,MatchListExample example) {
        return mapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(MatchList record,MatchListExample example) {
        return mapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(MatchList record) {
        return mapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MatchList record) {
        return mapper.updateByPrimaryKey(record);
    }

}
